from selenium.webdriver.common.by import By
from pages.base_page import BasePage
from config.config import HOST

class TaskInfo(BasePage):
    # 任务详情页面url
    url='http://{}/crm/index.php?m=task&a=view&id=8'.format(HOST)

    # 获取任务详情url
    def get_task_info_url(self):
        return self.current_url()